package com.gtw.modules.api.service;

import com.gtw.modules.entity.TbBanner;
import com.gtw.modules.entity.TbCategory;

import java.util.List;
import java.util.Map;

/**
 * Banner
 *
 * @author wuye
 * @email www.baidu.com
 * @date 2018-02-06 15:19:47
 */
public interface TbBannerService {

    TbBanner queryObject(Integer id);

    List<TbBanner> queryList(Map<String, Object> map);

    int queryTotal(Map<String, Object> map);

    void save(TbBanner banner);

    void update(TbBanner banner);

    void delete(Integer id);

    void deleteBatch(Integer[] ids);

    /**
     * 查询所有
     * @return
     */
    List<TbBanner> findALL();
}
